#include <iostream>

using namespace std;

int main()
{
    setlocale(0,"");
    float a,b,c;
    cout << "vvedite А - ";
    cin >> a;
    cout<< "vvedite В - ";
    cin >> b;
    cout << "vvedite С - ";
    cin >> c;

    if (a >= b ||c <= a || c >= b)
    {
        cout <<"proizvedenie AB i BC= "<< (c - a) * ( b - c) <<" \n";
    }
    else
    {
        cout<< "nekoppektho\n";
    }
   system("pause >> null");
   return 0;
}
